package cn.net.cfss.fgbp.api.console.inte;

import cn.net.cfss.fgbp.api.console.constant.Constants;
import cn.net.cfss.fgbp.api.console.dto.IntentionDto;
import cn.net.cfss.fgbp.api.console.vo.IntentionVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

@FeignClient(name = Constants.SPI_SERVER_NAME)
@RequestMapping("intention")
public interface IIntentionService {

    @RequestMapping(value = "/queryIntention", method = RequestMethod.POST, produces = "application/json;charset=UTF-8")
    public List<IntentionDto> queryIntention(@RequestBody IntentionVo vo );
}
